package com.tailyou.hms.firstapp.bean;

import java.util.List;

public class MLBean {

    private String code;
    private String desc;
    private List<DataDTO> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public List<DataDTO> getData() {
        return data;
    }

    public void setData(List<DataDTO> data) {
        this.data = data;
    }

    public static class DataDTO {
        private int catgoryid;
        private String catgoryname;
        private List<ListDTO> list;

        public int getCatgoryid() {
            return catgoryid;
        }

        public void setCatgoryid(int catgoryid) {
            this.catgoryid = catgoryid;
        }

        public String getCatgoryname() {
            return catgoryname;
        }

        public void setCatgoryname(String catgoryname) {
            this.catgoryname = catgoryname;
        }

        public List<ListDTO> getList() {
            return list;
        }

        public void setList(List<ListDTO> list) {
            this.list = list;
        }

        public static class ListDTO {
            private int id;
            private String title;
            private List<RoomlistDTO> roomlist;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public List<RoomlistDTO> getRoomlist() {
                return roomlist;
            }

            public void setRoomlist(List<RoomlistDTO> roomlist) {
                this.roomlist = roomlist;
            }

            public static class RoomlistDTO {
                private String image;
                private String name;

                public String getImage() {
                    return image;
                }

                public void setImage(String image) {
                    this.image = image;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }
        }
    }
}
